Part Number Hot Search : 
DS1615X 40PT10B N1113 PESD5V0 CS00000 AM79212 T52C3V9T HE04002
Product Description
Full Text Search
 

To Download HFDOM40KVXXX Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 HANBit
HFDOM40KVXXX
40Pin Flash Disk Module Min.8MB ~ Max.1GB, True IDE Interface Mode, 3.3V / 5.0V Operating Part No. HFDOM40KVXXX
1. PRODUCT OVERVIEW
GENERAL DESCRIPTION
The HFDOM40KVXXX series 40Pin Flash Disk Module is a flash technology based with True IDE interface flash memory card. It is constructed with flash disk controller chip and NAND-type (Samsung) flash memory device. The HFDOM40KVXXX series operates in both 3.3-Volt and 5.0-Volt power supplies. It comes in capacity of 16, 32, 64, 128, 192, 256MB and up to 384MB MB formatted 40Pin type . By optimizing flash memory management, the life of this HFDOM40KVXXX series can be extended to its maximum level. Because the ECC function is included, the correctness of data transfer between the HFDOM40KVXXX series and a True IDE compatible interface device can be guaranteed. The HFDOM40KVXXX series is fully compatible with applications such as CPU card / board, set top box, industry / military PC / Notebook, security equipment, measuring instrument and embedded systems.
FEATURES
ATA / True IDE compatible host interface ATA command set compatible Automatic sensing of PC Card ATA or true IDE host interface. Very high performance, very low power consumption Automatic error correction Auto Standby to save power consumption. Supports power down commands and sleep modes. Integrated PCMCIA attribute memory of 256 bytes (CIS) Support for 8 or 16 bit host transfers 3.3V/5.0V operation voltage Host Interface bus width : 8/16 bit Access Flash Interface bus width : 8 bit Access Capacity : Min. 16MB ~ Max. 1GMB MTBF > 1,000,000 hours. Minimum 10,000 insertions. Shock : 2,000 G max. Vibration : 15 G peak to peak max.
PRODUCT SPECIFICATIONS Capacities :
16, 32, 48, 64, 96, 128, 192, 256, 512 and up to 1GB (formatted)
System Compatibility :
Please refer to the compatibility list of index.
Performance :
Host Data Transfer Rates : up to 16.6 MB/sec, PIO mode 4; 16.6MB/sec, Multi-word DMA mode 2; 33MB/sec
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
1/1
HANBit Electronics Co., Ltd.
HANBit
Operating Voltage : 3.3V / 5.0V 10%
HFDOM40KVXXX
Power consumption : 3.3V 5%
Read mode Write mode Stop mode <30 mA <56 mA <2 mA
Environment conditions :
Operating temperature Storage temperature Relative humidity 0C to + 65C - C to + C
8% to 95%, non-condensing
ELECTRICAL SPECIFICATIONS Table 1.1 Absolute Maximum Ratings
Symbol VDD VIN VOUT TSTG Parameter Power supply Input voltage Output voltage Storage temperature Rating -0.3 to 6.0 -0.3 to VDD+0.3 -0.3 to VDD+0.3 -25 to 125 Units V V V o C
Table 1.2 Recommended Operating Conditions
Symbol VDD VIN TOPR Parameter Power supply Input voltage Operating temperature Min. 3.0 0 0 Max. 5.5 VDD 65 Units V V o C
Table 1.3 DC Characteristics
Sym. VIL VIH VIL VIH VOL VOH RI Parameter Input low voltage Input high voltage Schmitt input low voltage Schmitt input high voltage Output low voltage Output high voltage Input pull up/down resistance Min 0.7VDD 1.22 2.08 2.3 75 0.4 1 V V k Typ Max 0.3VDD Units V V V V
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
2/2
HANBit Electronics Co., Ltd.
HANBit
CAPACITY SPECIFICATIONS
Table 1.4 Capacity Specifications
Part Number HFDOM40KB016 HFDOM40KB032 HFDOM40KB064 HFDOM40KB096 Capacity (formatted) 15,32Mbytes 30,65 Mbytes 61,32 Mbytes 91,98 Mbytes 122,64 Mbytes HFDOM40KB128 119,65 Mbytes HFDOM40KB192 183,96 Mbytes 245,28 Mbytes HFDOM40KB256 239,29 Mbytes 369,91 Mbytes HFDOM40KB384 357,86 Mbytes 960 16 960 984 16 16 960 984 984 16 16 16 Cylinders 984 984 984 984 984 Heads 16 16 16 16 16
HFDOM40KVXXX
Sectors 2 4 8 12 16 16 24 32 32 48 48
NOTE
K9K1G08UOM
K9K1G08UOM
K9K1G08UOM
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
3/3
HANBit Electronics Co., Ltd.
HANBit
PHYSYCAL SPECIFICATION
HFDOM40KVXXX
51.850.1mm
Jumper 22.100.1mm 29.00.2mm Master 1,2 Close 7.00.1mm 1 Slave
+ -
1 2 3
Jumper
2,3 Close
55.370.1mm
< View from front side >
3.80.1mm 2.540.05mm 6.00.1mm 2.540.05mm
48.200.1mm 55.300.1mm
< View from connector side >
Figure 1.1 40 pin Type Flash Disk Module Dimensions
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
4/4
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
INSTALLTION GUIDE
1) Setting Method
c e Make sure your computer is turned off before you open the case. Plug the carefully into the 40pin IDE slot on your computer. Caution: Make sure to align pin1 on host adapter interface connector with pin 1 on your Flash Disk Module. Pin 1 is indicated by a triangle on the Flash Disk Module connector. e e The Flash Disk Module is used power connector cable of the computer. Caution: If you need to remove your Flash Disk Module, use both hands to pull it out carefully. Check all cable connections and then replace your computer cover. Before you format or partition your new drive, you must configure your computer's BIOS so that the computer can recognize your new drive. c Turn your computer on. As your computer start up, watch the screen for a message describing how to run the system setup program on the screen (sometimes called BIOS or CMOS setup). This is usually done by pressing a special key, such as Delete, Esc or F1 during startup. See your computer manual for details. Press the appropriate key to run the system setup program. If your BIOS provides automatic drive detection (an "AUTO" drive type), select this option. ( We recommend to use Normal / CHS mode to partition your Flash Disk Module to get the maximum formatted capacity. ) This allows your computer to configure itself automatically for your new drive. If your BIOS dose not provide "AUTO" drive detection, select "User-defined" drive setting and enter the CHS values from the table. BIOS Settings (see specification) Capacity Cylinders Heads Sectors(unformatted) Save the settings and exit the System Setup program. ( your computer will automatically reboot ) After you configure your computer, you can use the standard DOS commands to partition and format your Flash Disk Module, as described below. To partition your new Flash Disk Module with Microsoft DOS program : c e Insert a bootable DOS diskette into your diskette drive and restart your computer. Insert a DOS program diskette that contains the FDISK.EXE and FORMAT.COM programs into your diskette drive. Use the same DOS version that is on your bootable diskette. At the A:\ > prompt, type "FDISK" and press Enter. Select "Create DOS partition or logical DOS drive" by pressing 1. Then press Enter. Select "Create primary DOS partition" by pressing 1 again. Then press Enter. Create your first drive partition. If you are creating a partition that will be used to boot your computer (drive C), make sure that the partition is marked active. e i i i Create an extended partition and additional logical drives as necessary, until all the space on your new hard drive has been partitioned. When the partitioning is complete, FDISK reboots your computer. Caution: Make sure to use the correct drive letters so that you do not format a drive that already contains data. At the A:\ > prompt, type "format c:/s", where c is the letter of your first new partition, Repeat the format process for all the new partitions you have created. After you format your drive, it is ready to use.
2) BIOS setting Method
e
e
3) Formatting Method
e e
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
5/5
HANBit Electronics Co., Ltd.
HANBit
2. PIN INFORMATION
PIN ASSIGNMENTS AND PIN TYPE
Table 2.1 Pin Assignment and Pin type
Pin 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 Signal /RESET D07 D06 D05 D04 D03 D02 D01 D00 GND INPACK /IOW /IOR IORDY REG IRQ A01 A00 /CS0 /DASP Pin Type I I/O I/O I/O I/O I/O I/O I/O I/O DC -I I O -O I I I I/O Pin 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40
HFDOM40KVXXX
Signal GND D08 D09 D10 D11 D12 D13 D14 D15 Key Pin GND GND GND Reserved GND /IOIS16 /PDIAG A02 /CS1 GND
Pin Type Ground I/O I/O I/O I/O I/O I/O I/O I/O -Ground Ground Ground -Ground O I/O I I Ground
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
6/6
HANBit Electronics Co., Ltd.
HANBit
Signal Descriptions
Table 2.2 Signal Descriptions
Signal Name A[2:0] -PDIAG -DASP -CS0, -CS1 Dir. I I/O I/O I Pin 33,35,36 34 39 37,38 3,4,5,6, 7,8,9,10, D[15:00] I/O 11,12,13, 14,15,16, 17,18 2,19,22, GND -24,26, 30,40, -IOR -IOW I I 25 23 Ground. Description
HFDOM40KVXXX
In True IDE Mode only A[2:0] are used to select the one of eight registers in the Task File, the remaining address lines should be grounded by the host. This input / output is the Pass Diagnostic signal in the Master / Slave handshake protocol. In the True IDE Mode, this input/output is the Disk Active/Slave Present signal in the Master/Slave handshake protocol. CS0 is the chip select for the task file registers while CS2 is used to select the Alternate Status Register and the Device Control Register. All Task File operations occur in byte mode on the low order bus D00-D07 while all data transfers are 16 bit using D00-D15.
This is an I/O Read strobe generated by the host. The I/O Write strobe pulse is used to clock I/O data on the Card Data bus into the Storage Card controller registers when the Storage Card is configured to use the I/O interface. The clocking will occur on the negative to positive edge of the signal (trailing edge). In True IDE Mode signal is the active high Interrupt Request to the host. This input pin is the active low hardware reset from the host. This output signal may be used as IORDY. This output signal is asserted low when this device is expecting a word data transfer cycle.
IRQ -RESET IORDY -IOIS16
O I O O
31 1 27 32
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
7/7
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
BLOCK DIAGRAM
PCMCIA ATA Interface
Buffer Management and Control
ECC Circuit
HOST Interface
ATA Interface
8032 MICOM Flash Sequencer and Control Logic
NAND FLASH NAND DEVICE FLASH NAND DEVICE FLASH NAND DEVICE FLASH DEVICE
RAM
ROM Code
Figure 2.1 Block Diagram
3. INTERFACE BUS TIMING ACCESS SPCIFICATIONS 1 System clock timing
Sym. Tc Tlpd Thpd Description Clock cycle time Clock low pulse duration Clock high pulse duration Min. 45 0.4Tc 0.4Tc Typ. 50 Max. 100 0.6Tc 0.6Tc Unit ns ns ns
Tlpd Tc
Thpd
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
8/8
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
2 Host Read/Write timing
Sym. Td Th(R) Ts(W) Th(W)
CE[2:1]
Description HD bus asserted from HIOR# / HOE# HD hold time after HIOR# / HOE# HD set up time of HIOW# / HWE# HD hold time of HIOW# / HWE#
Min. 40 10 5
Typ.
Max. 10 70
Unit ns ns ns ns
HA Td HIOR#/HOE#
HA Valid Th
(R)
Read HD Valid
HIOW#/ HWE# Ts
(W)
Th HD write
(W)
3 Flash Read/Write timing
Sym. Tc(F) Ts(FW) Th(FW) Ts(FR) Th(FR) Description Flash Read / Write cycle time FD set up time of FWE# FD hold time of FWE# FD set up time of FRD# FD hold time of FRD# Min. 80 40 10 5 Typ. 100 Max. Unit ns ns ns ns ns
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
9/9
HANBit Electronics Co., Ltd.
HANBit
REGISTERS
HFDOM40KVXXX
1) Data Register (Address - 1F0h[170h];Offset 0,8,9) The Data Register is a 16-bit register, and it is used to transfer data blocks between the CompactFlash Storage Card data buffer and the Host. This register overlaps the Error Register.The table below describes the combinations of data register access and is provided to assist in understanding the overlapped Data Register and Error/Feature Register rather than to attempt to define general PCMCIA word and byte access modes and operations. See the PCMCIA PC Card Standard Release 2.0 for definitions of the Card Accessing Modes for I/O and Memory cycles. Note: Because of the overlapped registers, access to the 1F1h, 171h or offset 1 are not defined for word (-CE2 = 0 and -CE1 = 0) operations. These accesses are treated as accesses to the Word Data Register. The duplicated registers at offsets 8, 9 and Dh have no restrictions on the operations that can be performed by the socket. Data Register Access DATA Register Word Data Register Even Data Register Odd Data Register Odd Data Register Error/Feature Register Error/Feature Register Error/Feature Register CE20 1 1 0 1 0 0 CE10 0 0 1 0 1 0 A0 X 0 1 X 1 X X Offset 0,8,9 0,8 9 8,9 1,Dh 1 Dh Data Bus D15-D0 D7-D0 D7-D0 D15-D8 D7-D0 D15-D8 D15-D8
2) Error Register (Address - 1F1h[171h];Offset 1,0Dh Read Only) This register contains additional information about the source of an error when an error is indicated in bit 0 of the Status register. The bits are defined as follows: D7 BBK D6 UNC D5 0 D4 IDNF D3 0 D2 ABRT D1 0 D0 AMNF
Error Register This register is also accessed on data bits D15-D8 during a write operation to offset 0 with -CE2 low and -CE1 high. Bit 7 (BBK): this bit is set when a Bad Block is detected. Bit 6 (UNC): this bit is set when an Uncorrectable Error is encountered. Bit 5: this bit is 0. Bit 4 (IDNF): the requested sector ID is not valid error or cannot be found. Bit 3: this bit is 0. Bit 2 (Abort) This bit is set if the command has been aborted because of a CompactFlash Storage Card status condition: (Not Ready, Write Fault, etc.) or when an invalid command has been issued. Bit 1 This bit is 0. Bit 0 (AMNF) This bit is set in case of a general error happened. 3) Feature Register(Address - 1F1h[171h];Offset 1,0Dh Writer Only) This register provides information regarding features of the CompactFlash Storage Card that the host can utilize. This register is also accessed on data bits D15-D8 during a write operation to Offset 0 with -CE2 low and -CE1 high. BIT DESCRIPTION7 6 5 4 3 2 1 0
Command specific 4) Sector Count Register(Address - 1F2h[172h];Offset 2)
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
10 / 10
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
This register contains the numbers of sectors of data requested to be transferred on a read or write operation between the host and the CompactFlash Storage Card. If the value in this register is zero, a count of 256 sectors is specified. If the command was successful, this register is zero at command completion. If not successfully completed, the register contains the number of sectors that need to be transferred in order to complete the request. BIT DESCRIPTION7 6 5 4 3 2 1 0
Sector Count 5) Sector Number (LBA 7-0) Register(Address-1F3h[173h];Offset 3) This register contains the starting sector number or bits 7-0 of the Logical Block Address (LBA) for any CompactFlash Storage Card data access for the subsequent command. BIT DESCRIPTION - CHS 7 6 5 4 3 2 1 0
Sector (7: 0) LBA 7 6 5 4 LBA (7 : 0) 6) Cylinder Low (LBA 15-8 )Register (Address-1F4h[174h];Offset 4) This register contains the low order 8 bits of the starting cylinder address or bits 15-8 of the Logical Block Address. DIT DESCRIPTIONCHS 7 6 5 4 3 2 1 0 3 2 1 0
Cylinder ( 7: 0 ) LBA 7 6 5 4 3 2 1 0
LBA ( 15 : 8 ) 7) Cylinder High(LBA 23-16)Register(Address-1F5h[175h]; Offset 6) This register contains the high order bits of the starting cylinder address or bits 23-16 of the Logical Block Address.
BIT DESCRIPTIONCHS 7 6 5 4 3 2 1 0
Cylinder ( 15 :8 ) LBA 7 6 5 4 3 2 1 0
LBA ( 23 : 16 ) 8) Status/Alternate Status Register(Address 1F7h[177h]/3F6h[376h];Offset 7/ Eh) These registers return the CompactFlash Storage Card status when read by the host. Reading the Status register does clear a pending interrupt, while reading the Alternate Status register does not. The status bits are described as follows:
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
11 / 11
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
D7 BUSY
D6 RDY
D5 DWF
D4 DSC
D3 DRQ
D2 CORR
D1 0
D0 ERR
Status & Alternate Status Register Bit 7 (BUSY): the busy bit is set when the CompactFlash Storage Card has access to the command buffer and registers and the host is locked out from accessing the command register and buffer. No other bits in this register are valid when this bit is set to a 1. Bit 6 (DRDY): DRDY indicates whether the device is capable of performing CompactFlash Storage Card operations. This bit is cleared at power up and remains cleared until the CompactFlash Storage Card is ready to accept a command. Bit 5 (DWF): This bit, if set, indicates a write fault has occurred. Bit 4 (DSC): This bit is set when the CompactFlash Storage Card is ready. Bit 3 (DRQ): The Data Request is set when the CompactFlash Storage Card requires the information to be transferred either to or from the host through the Data register. Bit 2 (CORR): This bit is set when a Correctable data error has been encountered and the data has been corrected. This condition does not terminate a multi-sector read operation. Bit 1 (IDX): This bit is always set to 0. Bit 0 (ERR): This bit is set when the previous command has ended in some type of error. The bits in the Error register contain additional information describing the error. It is recommended that media access commands (such as Read Sectors and Write Sectors) that end with an error condition should have the address of the first sector in error in the command block registers.
9) Device Control Register( Address - 3F6h[376h]; Offset Eh) This register is used to control the CompactFlash Storage Card interrupt request and to issue an ATA soft reset to the card. This register can be written even if the device is BUSY. The bits are defined as follows:
D& X
D6 X
D5 X
D4 X
D3 1
D2 SW Rst
D1 -IEn
D0 0
Device Control Register Bit 7: this bit is an X (don't care). Bit 6: this bit is an X (don't care). Bit 5: this bit is an X (don't care). Bit 4: this bit is an X (don't care). Bit 3: this bit is ignored by the CompactFlash Storage Card. Bit 2 (SW Rst): this bit is set to 1 in order to force the CompactFlash Storage Card to perform an AT Disk controller Soft Reset operation. This does not change the PCMCIA Card Configuration Registers (4.3.2 to 4.3.5) as a hardware Reset does. The Card remains in Reset until this bit is reset to `0.' Bit 1 (-IEn): the Interrupt Enable bit enables interrupts when the bit is 0. When the bit is 1, The interrupts from the CompactFlash Storage Card are disabled. This bit also controls the Int bit in the Configuration and Status Register. This bit is set to 0 at power on and Reset. Bit 0: this bit is ignored by the CompactFlash Storage Card. 10) Card (Drive) Address Register(Address 3F7h[377h]; Offset Fh) This register is provided for compatibility with the AT disk drive interface. It is recommended that this register not be mapped into the host's I/O space because of potential conflicts on Bit 7. The bits are defined as follows:
D7 X
D6 -WTG
D5 -HS3
D4 -HS2
D3 -HS1
D2 -HS0
D1 -nDS1
D0 -nDS0
Card (Drive) Address Register Bit 7: this bit is in High Imoedence..
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
12 / 12
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
Implementation Note: Conflicts may occur on the host data bus when this bit is provided by a Floppy Disk Controller operating at the same addresses as the CompactFlash Storage Card. Following are some possible solutions to this problem for the PCMCIA implementation: 1) Locate the CompactFlash Storage Card at a non-conflicting address, i.e. Secondary address (377) or in an independently decoded Address Space when a Floppy Disk Controller is located at the Primary addresses. 2) Do not install a Floppy and a CompactFlash Storage Card in the system at the same time. 3) Implement a socket adapter, which can be programmed to (conditionally) tri-state D7 of I/0 address 3F7h/377h when a Compact Flash Storage Card is installed and conversely to tri-state D6-D0 of I/O address 3F7h/377h when a floppy controller is installed. 4) Do not use the CompactFlash Storage Card's Drive Address register. This may be accomplished by either a) If possible, program the host adapter to enable only I/O addresses 1F0h-1F7h, 3F6h (or 170h-177h, 176h) to the CompactFlash Storage Card or b) if provided use an additional Primary / Secondary configuration in the CompactFlash Storage Card which does not respond to accesses to I/O locations 3F7h and 377h. With either of these implementations, the host software must not attempt to use information in the Drive Address Register. Bit 6 (-WTG): this bit is 0 when a write operation is in progress, otherwise, it is 1. Bit 5 (-HS3): this bit is the negation of bit 3 in the Drive/Head register. Bit 4 (-HS2): this bit is the negation of bit 2 in the Drive/Head register. Bit 3 (-HS1): this bit is the negation of bit 1 in the Drive/Head register. Bit 2 (-HS0): this bit is the negation of bit 0 in the Drive/Head register. Bit 1 (-nDS1): this bit is 0 when drive 1 is active and selected. Bit 0 (-nDS0): this bit is 0 when the drive 0 is active and selected.
4. ATA COMMAND
CF-ATA Command Set Table summarizes the CF-ATA command set with the paragraphs that follow describing the individual commands and the task file for each. Table:CF-ATA Command Set Class 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 COMMAND Check Power Mode Code E5h or 98h FR Y SC Y Y Y Y Y Y Y SN Y Y Y Y Y CY Y Y Y Y Y Y DH D D Y D D D Y D Y Y Y Y D D Y D D LBA Y Y Y Y Y Y -
Execute Drive Diagnostic 90h Format Track Identify Drive Idle Idel Immediate 50h ECh E3h or 97h E1h or 95h
Initialize Drive Parameters 91h Read Buffer Read Long Sector Read Multiple Read Sector(s) Read Verify Sector(s) Recalibrate Request Sence Seek Set Features Set Multiple Mode E4h 22h or 23h C4h 20h or 21h 40h or 41h 1Xh 03h 7Xh EFh C6h
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
13 / 13
HANBit Electronics Co., Ltd.
HANBit
1 1 1 1 1 2 2 3 3 2 2 3 Set Sleep Mode Stand By Stand By Immediate Translate Sector Wear Level Write Buffer Write Long Sector Write Multiple WriteMultiple w/o Erase Write Sector(s) E6h or 99h E2h or 96h E0h or 94h 87h F5h E8h 32h or 33h C5h CDh 30h or 31h Y Y Y Y Y Y Y Y Y Y Y Y Y
HFDOM40KVXXX
Y -Y Y Y Y Y Y D D D Y Y D Y Y Y Y Y Y Y Y Y Y Y Y Y
Write Sector(s) w/o Erase 38h Write Verify 3Ch
Definitions: --FR = Features Register --SC = Sector Count Register --SN = Sector Number Register --CY = Cylinder Registers --DH = Card/Drive/Head Register --LBA = Logical Block Address Mode Supported (see command descriptions for use). --Y - The register contains a valid parameter for this command. For the Drive/Head Register Y means both the CompactFlash Storage Card and head parameters are used; D - only the CompactFlash Storage Card parameter is valid and not the head parameter. Check Power Mode - 98h or E5h Bit-> Command(7) C/D/H(6) Cly High(5) Cly Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X Drive 7 6 5 4 3 2 1 0
98h or E5h X X X X X X Check Power Mode
This command checks the power mode. f the CompactFlash Storage Card is in, going to, or recovering from the sleep mode, the CompactFlash Storage Card sets BSY, sets the Sector Count Register to 00h, clears BSY and generates an interrupt. If the CompactFlash Storage Card is in Idle mode, the CompactFlash Storage Card sets BSY, sets the Sector Count Register to FFh, clears BSY and generates an interrupt.
Execute Drive Diagnostic - 90h Bit-> Command(7) C/D/H(6) X Drive 7 6 5 4 90h X 3 2 1 0
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
14 / 14
HANBit Electronics Co., Ltd.
HANBit
Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X X X X X Execute Drive Diagnostic
HFDOM40KVXXX
This command performs the internal diagnostic tests implemented by the CompactFlash Storage Card. If in PCMCIA configuration this command runs only on the CompactFlash Storage Card which is addressed by the Drive/Head register when the diagnostic command is issued. This is because PCMCIA card interface does not allows for direct inter-drive communication (such as the ATA PDIAG and DASP signals). If in True IDE Mode the Drive bit is ignored and the diagnostic command is executed by both the Master and the Slave with the Master responding with status for both devices. The Diagnostic codes shown in Table 39 are returned in the Error Register at the end of the command.
Diagnostic Codes Code 01h 02h 03h 04h 05h 8Xh ERROR TYPE No Error Detected Formatter Device Error Sector Buffer Error ECC Circuitry Error Controlling Microprocessor Error Slave Error in True IDE Mode
Erase Sector(s) - C0h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 Drive 7 6 5 4 C0h Head(LBA 27-24) 3 2 1 0
Cylinder High (LBA 23-16) Cylinder Low (LBA 15-8) Sector Number (LBA 7-0 ) Sector Count X Erase Sector
This command is used to pre-erase and condition data sectors in advance of a Write without Erase or Write Multiple without Erase command. There is no data transfer associated with this command but a Write Fault error status can occur.
Format Track - 50h Bit-> Command(7) 7 6 5 4 50h 3 2 1 0
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
15 / 15
HANBit Electronics Co., Ltd.
HANBit
C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 Drive
HFDOM40KVXXX
Head(LBA 27-24)
Cylinder High (LBA 23-16) Cylinder Low (LBA 15-8) X (LBA 7-0 ) Count (LBA mode only) X Format Track
This command writes the desired head and cylinder of the selected drive with a vendor unique data pattern (typically FFh or 00h). To remain host backward compatible, the CompactFlash Storage Card expects a sector buffer of data from the host to follow the command with the same protocol as the Write Sector(s) command although the information in the buffer is not used by the CompactFlash Storage Card. If LBA=1 then the number of sectors to format is taken from the SecCnt register (0=256). The use of this command is not recommended.
Identify Drive - ECh Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X X X Drive X X X X X 7 6 5 4 ECh X 3 2 1 0
Identify Drive The Identify Drive command enables the host to receive parameter information from the CompactFlash Storage Card. This command has the same protocol as the Read Sector(s) command. The parameter words in the buffer have the arrangement and meanings defined in Table . All reserved bits or words are zero. Table 40 is the definition for each field in the Identify Drive Information. Table: Identify Drive Information Word Address 0 1 2 3 4 5 6 7-8 9 Default Value 848Ah xxxxh 0000h 00xxh xxxxh xxxxh xxxxh xxxxh xxxxh Total Bytes 2 2 2 2 2 2 2 4 2 General configuration - signature for the CompactFlash Storage Card Default number of cylinders Reserved Default number of heads Number of unformatted bytes per track Number of unformatted bytes per sector Default number of sectors per track Number of sectors per card (Word 7 = MSW , word 8 = LSW) Vendor Unique Data Field Type Information
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
16 / 16
HANBit Electronics Co., Ltd.
HANBit
10-19 20 21 22 23-26 27-46 47 48 49 50 51 52 53 54 55 56 57-58 59 60-61 62-127 128 129-159 160 161-255 aaaa xxxxh xxxxh 0004h aaaa aaaa xxxxh 0000h xx00h 0000h 0x00h 0000h 0001h Xxxxh xxxxh xxxxh xxxxh 010xh xxxxh 0000h xxxxh 0000h xxxxh 0000h 20 2 2 2 8 40 2 2 2 2 2 2 2 2 2 2 4 2 4 138 2 64 2 170 Serial number in ASCII (Right Justified ) Buffer type Buffer size in 512 byte increments
HFDOM40KVXXX
# of ECC bytes passed on Read/Write Long Commands Firmware revision in ASCII. Big Endian Byte Order in Word Model number in ASCII (Left Justified) Big Endian Byte Order in Word Maximum number of sectors on Read/Write Mutliple command Double Word not supported Capabilities Reserved PIO data transfer cycle timing mode DMA data transfer cycle timing mode Translation parameters are valid Current numbers of cylinders Current numbers of heads Current sectors per track Current capacity in sectors(LBAs)(Word 57 = LSW , Word 58 = MSW) Multiple sector setting Total number of sectors addressable in LBA Mode Reserved Security status Vendor unique bytes Power requirement description Reserved
Idle - 97h or E3h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) Idle This command causes the CompactFlash Storage Card to set BSY, enter the Idle mode, clear BSY and generate an interrupt. If the sector count is non-zero, it is interpreted as a timer count with each count being 5 milliseconds and the automatic power down mode is enabled. If the sector count is zero, the automatic power down mode is disabled. Note that this time base (5msec) is different from the ATA specification. X 7 6 5 4 3 2 1 0
97h or E3h Drive X X X Timer Count (5 mess increments) X X
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
17 / 17
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
Idle Immediate - 95h or E1h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X 7 6 5 4 3 2 1 0
95h or E1h Drive X X X X X X
Idle Immediate This command causes the CompactFlash Storage Card to set BSY, enter the Idle mode, clear BSY and generate an interrupt.
Initialize Drive Parameters - 91h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X 0 X Drive X X X Number of Sectors X Initialize Drive Parameters This command enables the host to set the number of sectors per track and the number of heads per cylinder. Only the Sector Count and the Card/Drive/Head registers are used by this command. 7 6 5 4 91h Max Head(no. of heads-1) 3 2 1 0
Read Buffer - E4h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) Read Buffer The Read Buffer command enables the host to read the current contents of the CompactFlash Storage Card's sector buffer. This command has the same protocol as the Read Sector(s) command. X Drive X X X X X 7 6 5 4 E4h X 3 2 1 0
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
18 / 18
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
Read Multiple - C4h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 Drive 7 6 5 4 C4h Head(LBA 27 - 24) 3 2 1 0
Cylinder High (LBA 23 - 16) Cylinder Low (15 - 8) Sector Number (LBA 7 - 0) Sector Count X Read Multiple
The Read Multiple command performs similarly to the Read Sectors command. Interrupts are not generated on every sector, but on the transfer of a block which contains the number of sectors defined by a Set Multiple command. Command execution is identical to the Read Sectors operation except that the number of sectors defined by a Set Multiple command are transferred without intervening interrupts. DRQ qualification of the transfer is required only at the start of the data block, not on each sector. The block count of sectors to be transferred without intervening interrupts is programmed by the Set Multiple Mode command, which must be executed prior to the Read Multiple command. When the Read Multiple command is issued, the Sector Count Register contains the number of sectors (not the number of blocks or the block count) requested. If the number of requested sectors is not evenly divisible by the block count, as many full blocks as possible are transferred, followed by a final, partial block transfer. The partial block transfer is for n sectors, where n = remainder (sector count / block count). If the Read Multiple command is attempted before the Set Multiple Mode command has been executed or when Read Multiple commands are disabled, the Read Multiple operation is rejected with an Aborted Command error. Disk errors encountered during Read Multiple commands are posted at the beginning of the block or partial block transfer, but DRQ is still set and the data transfer will take place as it normally would, including transfer of corrupted data, if any Interrupts are generated when DRQ is set at the beginning of each block or partial block. The error reporting is the same as that on a Read Sector(s) Command. This command reads from 1 to 256 sectors as specified in the Sector Count register. A sector count of 0 requests 256 sectors.The transfer begins at the sector specified in the Sector Number Register. At command completion, the Command Block Registers contain the cylinder, head and sector number of the last sector read. If an error occurs, the read terminates at the sector where the error occurred. The Command Block Registers contain the cylinder, head and sector number of the sector where the error occurred. The flawed data is pending in the sector buffer. Subsequent blocks or partial blocks are transferred only if the error was a correctable data error. All other errors cause the command to stop after transfer of the block which contained the error.
Read Long Sector - 22h or 23h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 7 6 5 4 3 2 1 0
22h - 23h Drive Head(LBA 27 - 24)
Cylinder High (LBA 23 - 16) Cylinder Low (15 - 8) Sector Number (LBA 7 - 0) X X Read Long Sector
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
19 / 19
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
The Read Long command performs similarly to the Read Sector(s) command except that it returns 516 bytes of data instead of 512 bytes. During a Read Long command, the CompactFlash Storage Card does not check the ECC bytes to determine if there has been a data error. Only single sector read long operations are supported. The transfer consists of 512 bytes of data transferred in word mode followed by 4 bytes of ECC data transferred in byte mode. This command has the same protocol as the Read Sector(s) command. Use of this command is not recommended.
Read Sector(s) - 20h or 21h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 7 6 5 4 3 2 1 0
20h - 21h Drive Head(LBA 27 - 24)
Cylinder High (LBA 23 - 16) Cylinder Low (15 - 8) Sector Number (LBA 7 - 0) Sector Count X Read Sector(s)
This command reads from 1 to 256 sectors as specified in the Sector Count register. A sector count of 0 requests 256 sectors. The transfer begins at the sector specified in the Sector Number Register. When this command is issued and after each sector of data (except the last one) has been read by the host, the CompactFlash Storage Card sets BSY, puts the sector of data in the buffer, sets DRQ, clears BSY, and generates an interrupt. The host then reads the 512 bytes of data from the buffer. At command completion, the Command Block Registers contain the cylinder, head and sector number of the last sector read. If an error occurs, the read terminates at the sector where the error occurred. The Command Block Registers contain the cylinder, head, and sector number of the sector where the error occurred. The flawed data is pending in the sector buffer.
Read Verify Sector(s) - 40h or 41h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 7 6 5 4 3 2 1 0
40h - 41h Drive Head(LBA 27 - 24)
Cylinder High (LBA 23 - 16) Cylinder Low (15 - 8) Sector Number (LBA 7 - 0) Sector Count X Read Verify Sector(s)
This command is identical to the Read Sectors command, except that DRQ is never set and no data is transferred to the host. When the command is accepted, the CompactFlash Storage Card sets BSY. When the requested sectors have been verified, the CompactFlash Storage Card clears BSY and generates an interrupt. Upon command completion, the Command Block Registers contain the cylinder, head, and sector number of the last sector verified. If an error occurs, the verify terminates at the sector where the error occurs. The Command Block Registers contain the cylinder, head and sector number of the sector where the error occurred. The Sector Count Register contains the number of sectors not yet verified.
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
20 / 20
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
Recablibrate - 1Xh Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 Drive X X X X X Recalibrate This command is effectively a NOP command to the CompactFlash Storage Card and is provided for compatibility purposes. 7 6 5 4 1Xh X 3 2 1 0
Request Sense - 03h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 Drive X X X X X Request Sense This command requests extended error information for the previous command. Table 41 defines the valid extended error codes for the CompactFlash Storage Card Series product. The extended error code is returned to the host in the Error Register. 7 6 5 4 03h X 3 2 1 0
Extended Error Codes Extended Error Code 00h 01h 09h 20h 21h 2Fh 35h , 36h 11h Description No Error Detected Self Test OK ( No Error ) Miscellaneous Error Invalid Command Invalid Address ( Requested Head or Sector Invalid ) Address Overflow ( address Too Large ) Supply or generated Voltage Out of Tolerance Uncorrectable ECC Error
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
21 / 21
HANBit Electronics Co., Ltd.
HANBit
18h 05h , 30-34h , 37h ,3Eh 10h , 14h 3Ah 1Fh 0Ch , 38h , 3Bh , 3Ch , 3Fh 03h 22h Corrected ECC Error Self Test or Diagnostic Failed ID Not Found Spare Sectors Exhausted Data Transfer Error / Aborted Command Corrupted Media Format Write / Erase Failed Power Level 1 Disabled
HFDOM40KVXXX
Seek -7X h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) Seek This command is effectively a NOP command to the CompactFlash Storage Card although it does perform a range check of cylinder and head or LBA address and returns an error if the address is out of range. 1 LBA 1 Drive 7 6 5 4 7Xh Head(LBA 27 - 24) 3 2 1 0
Cylinder High (LBA 23 - 16) Cylinder Low (15 - 8) X (LBA 7 - 0) X X
Set Features - EFh Bit-> Command(7) EFh C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X Drive X X X Configure Feature Set Features This command is used by the host to establish or select certain features. Table 45 defines all features that are supported. Feature Supported Feature 01h 0Ah Operation Enable 8 - bit data transfers Enable Power Level 1 commands X 7 6 5 4 3 2 1 0
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
22 / 22
HANBit Electronics Co., Ltd.
HANBit
55h 66h 69h 81h 8Ah 96h 97h 9Ah Disable Read Look Ahead
HFDOM40KVXXX
Disable Power on Reset(POR) establishment of defaults at Soft Reset NOP - Accepted for backward compatibility Disable 8 - bit data transfer Disable Power Level 1 commands NOP - Accepted for backward compatibility Accepted for backward compatibility . Use of this Feature is not recommended Set the host current source capability. Allows tradeoff between current drawn and read/write speed.
BBh CCh
4 bytes of data apply on Read/Write Long commands Enable Power on Reset (POR) establishment of defaults at Soft Reset
Features 01h and 81h are used to enable and clear 8 bit data transfer modes in True IDE Mode. If the 01h feature command is issued all data transfers will occur on the low order D7D0 data bus and the IOIS16 signal will not be asserted for data register accesses. Features 0Ah and 8Ah are used to enable and disable Power Level 1 commands. Feature 0Ah is the default feature for the CompactFlash Storage Card with extended power. Features 55h and BBh are the default features for the CompactFlash Storage Card; thus, the host does not have to issue this command with these features unless it is necessary for compatibility reasons. Feature code 9Ah enables the host to configure the card to best meet the host system's power requirements. The host sets a value in the Sector Count register that is equal to one-fourth of the desired maximum average current (in mA) that the card should consume. For example, if the Sector Count register is set to 6, the card would be configured to provide the best possible performance without exceeding 24 mA. Upon completion of the command, the card responds to the host with the range of values supported by the card. The minimum value is set in the Cylinder Low register, and the maximum value is set in the Cylinder Hi register. The default value, after a power on reset, is to operate at the highest performance and therefore the highest current mode. The card will accept values outside this programmable range, but will operate either at the lowest power or highest performance as appropriate. Features 66h and CCh can be used to enable and disable whether the Power On Reset (POR) Defaults will be set when a soft reset occurs. The default setting is to revert to the POR defaults when a soft reset occurs.
Set Multiple Mode - C6h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) Set Multiple Mode This command enables the CompactFlash Storage Card to perform Read and Write Multiple operations and establishes the block count for these commands. The Sector Count Register is loaded with the number of sectors per block. Upon receipt of the command, the CompactFlash Storage Card sets BSY to 1 and checks the Sector Count Register. If the Sector Count Register contains a valid value and the block count is supported, the value is loaded for all subsequent Read Multiple and Write Multiple commands and execution of those commands is enabled. If a block count is not supported, an Aborted Command error is posted, and Read Multiple and Write Multiple commands are disabled. If the Sector Count Register contains 0 when the command is issued, Read and Write Multiple X Drive X X X Sector Count X 7 6 5 4 C6h X 3 2 1 0
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
23 / 23
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
commands are disabled. At power on, or after a hardware or (unless disabled by a Set Feature command) software reset, the default mode is Read and Write Multiple disabled.
Set Sleep Mode - 99h or E6h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X 7 6 5 4 3 2 1 0
99h or E6h Drive X X X X X Set Sleep Mode X
This command causes the CompactFlash Storage Card to set BSY, enter the Sleep mode, clear BSY and generate an interrupt. Recovery from sleep mode is accomplished by simply issuing another command (a reset is permitted but not required). Sleep mode is also entered when internal timer expires so the host does not need to issue this command except when it wishes to enter Sleep mode immediately. The default value for the timer is 1.6 milliseconds. Note that this time base (1.6 msec) is different from the ATA Specification.
Standby - 96h or E2h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X 7 6 5 4 3 2 1 0
96h or E2h Drive X X X X X Standby X
This command causes the CompactFlash Storage Card to set BSY, enter the Sleep mode (which corresponds to the ATA "Standby" Mode), clear BSY and return the interrupt immediately. Recovery from sleep mode is accomplished by simply issuing another command (a reset is not required).
Standby Immediate - 94h or E0h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) X 7 6 5 4 3 2 1 0
94h or E0h Drive X X X X
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
24 / 24
HANBit Electronics Co., Ltd.
HANBit
Sec Cnt(2) Feature(1) X X Standby Immediate
HFDOM40KVXXX
This command causes the CompactFlash Storage Card to set BSY, enter the Sleep mode (which corresponds to the ATA "Standby" Mode), clear BSY and return the interrupt immediately. Recovery from sleep mode is accomplished by simply issuing another command (a reset is not required).
Translate Sector - 87h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) Translate Sector This command allows the host a method of determining the exact number of times a user sector has been erased and programmed. The controller responds with a 512 byte buffer of information containing the desired cylinder, head and sector, including its Logical Address, and the Hot Count, if available, for that sector. Table 46 represents the information in the buffer. Please note that this command is unique to the CompactFlash Storage Card. 1 LBA 1 Drive 7 6 5 4 87h Head(LBA 27 - 24) 3 2 1 0
Cylinder High (LBA 23 - 16) Cylinder Low (15 - 8) Sector Number (LBA 7 - 0) X X
Address Information ADDRESS 00h - 01h 02h 03h 04h - 06h 07h - 12h 13h 14h - 17h 18h - 1Ah 1bh - 1ffh Information Cylinder MSB (00), Cylinder LSB (01) Head Sector LBA MSB (04) - LSB (06) Reserved Erased Flag (ffh) = Erased; 00h = Not Erased Reserved Hot Count MSB (18) - LSB (1A) Reserved
Note 1: A value of 0 indicates Hot Count is not supported.
Wear Level - F5h Bit-> Command(7) C/D/H(6) X X X Drive 7 6 5 4 F5h Flag 3 2 1 0
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
25 / 25
HANBit Electronics Co., Ltd.
HANBit
Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X X X Completion Status X Wear Level
HFDOM40KVXXX
For the CompactFlash Storage Cards that do not support security mode feature set, this command is effectively a NOP command and only implemented for backward compatibility. The Sector Count Register will always be returned with a 00h indicating Wear Level is not needed. If the CompactFlash Storage Card supports security mode feature set, this command shall be handled as Security Freeze Lock.
Write Buffer - E8h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X Drive X X X X X Write Buffer The Write Buffer command enables the host to overwrite contents of the CompactFlash Storage Card's sector buffer with any data pattern desired. This command has the same protocol as the Write Sector(s) command and transfers 512 bytes. 7 6 5 4 E8h X 3 2 1 0
Write Long Sector -32h or 33h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 7 6 5 4 3 2 1 0
32h or 33h Drive Head(LBA 27 - 24)
Cylinder High (LBA 23 - 16) Cylinder Low (15 - 8) Sector Number (LBA 7 - 0) X X Write Long Sector
This command is similar to the Write Sector(s) command except that it writes 516 bytes instead of 512 bytes. Only single sector Write Long operations are supported. The transfer consists of 512 bytes of data transferred in word mode followed by 4 bytes of ECC transferred in byte mode. Because of the unique nature of the solid-state CompactFlash Storage Card, the four bytes of ECC transferred by the host may be used by the CompactFlash Storage Card. The CompactFlash Storage Card may discard these four bytes and write the sector with valid ECC data. This command has the same protocol as the Write Sector(s) command. Use of this command is not
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
26 / 26
HANBit Electronics Co., Ltd.
HANBit
recommended.
HFDOM40KVXXX
Write Multiple Command - C5h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X LBA X Drive Cylinder High Cylinder Low Sector Number Sector Count X 7 6 5 4 C5h Head 3 2 1 0
Write Multiple Command Note: The current revision of the CompactFlash Storage Card only supports a block count of 1 as indicated in the Identify Drive Command information. This command is provided for compatibility with future products which may support a larger block count. This command is similar to the Write Sectors command. The CompactFlash Storage Card sets BSY within 400 nsec of accepting the command. Interrupts are not presented on each sector but on the transfer of a block which contains the number of sectors defined by Set Multiple. Command execution is identical to the Write Sectors operation except that the number of sectors defined by the Set Multiple command is transferred without intervening interrupts. DRQ qualification of the transfer is required only at the start of the data block, not on each sector. The block count of sectors to be transferred without intervening interrupts is programmed by the Set Multiple Mode command, which must be executed prior to the Write Multiple command. When the Write Multiple command is issued, the Sector Count Register contains the number of sectors (not the number of blocks or the block count) requested. If the number of requested sectors is not evenly divisible by the sector/block, as many full blocks as possible are transferred, followed by a final, partial block transfer. The partial block transfer is for n sectors, where: n = remainder ( sector count / block count ). If the Write Multiple command is attempted before the Set Multiple Mode command has been executed or when Write Multiple commands are disabled, the Write Multiple operation will be rejected with an aborted command error. Errors encountered during Write Multiple commands are posted after the attempted writes of the block or partial block transferred. The Write command ends with the sector in error, even if it is in the middle of a block. Subsequent blocks are not transferred in the event of an error. Interrupts are generated when DRQ is set at the beginning of each block or partial block. The Command Block Registers contain the cylinder, head and sector number of the sector where the error occurred and the Sector Count Register contains the residual number of sectors that need to be transferred for successful completion of the command, e.g., each block has 4 sectors, a request for 8 sectors is issued and an error occurs on the third sector. The Sector Count Register contains 6 and the address is that of the third sector. Write Multiple without Erase - CDh Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) X LBA X Drive Cylinder High Cylinder Low Sector Number Sector Count X Write Multiple without Erase This command is similar to the Write Multiple command with the exception that an implied erase before write 7 6 5 4 CDh Head 3 2 1 0
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
27 / 27
HANBit Electronics Co., Ltd.
HANBit
HFDOM40KVXXX
operation is not performed. The sectors should be pre-erased with the Erase Sector(s) command before this command is issued.
Write Sector(s) - 30h or 31h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 7 6 5 4 3 2 1 0
30h or 31h Drive Head(LBA 27 - 24)
Cylinder High (LBA 23 - 16) Cylinder Low (15 - 8) Sector Number (LBA 7 - 0) Sector Count X Write Sector(s)
This command writes from 1 to 256 sectors as specified in the Sector Count Register. A sector count of zero requests 256 sectors. The transfer begins at the sector specified in the Sector Number Register. When this command is accepted, the CompactFlash Storage Card sets BSY,then sets DRQ and clears BSY, then waits for the host to fill the sector buffer with the data to be written. No interrupt is generated to start the first host transfer operation. No data should be transferred by the host until BSY has been cleared by the host. For multiple sectors, after the first sector of data is in the buffer, BSY will be set and DRQ will be cleared. After the next buffer is ready for data, BSY is cleared, DRQ is set and an interrupt is generated. When the final sector of data is transferred, BSY is set and DRQ is cleared. It will remain in this state until the command is completed at which time BSY is cleared and an interrupt is generated. If an error occurs during a write of more than one sector, writing terminates at the sector where the error occurs. The Command Block Registers contain the cylinder, head and sector number of the sector where the error occurred. The host may then read the command block to determinem what error has occurred, and on which sector.
Write Sector(s) without Erase - 38h Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 Drive 7 6 5 4 38h Head(LBA 27 - 24) 3 2 1 0
Cylinder High (LBA 23 - 16) LBA(15 - 8) Sector Number (LBA 7 - 0) Sector Count X Write Sector(s) without Erase
This command is similar to the Write Sector(s) command with the exception that an implied erase before write operation is not performed. This command has the same protocol as the Write Sector(s) command. The sectors should be pre-erased with the Erase Sector(s) command before this command is issued. If the sector is not preerased with the Erase Sector(s) command, a normal write sector operation will occur.
Write Verify - 3Ch
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
28 / 28
HANBit Electronics Co., Ltd.
HANBit
Bit-> Command(7) C/D/H(6) Cyl High(5) Cyl Low(4) Sec Num(3) Sec Cnt(2) Feature(1) 1 LBA 1 Drive 7 6 5 4 3Ch 3 2
HFDOM40KVXXX
1 0
Head(LBA 27 - 24)
Cylinder High (LBA 23 - 16) LBA(15 - 8) Sector Number (LBA 7 - 0) Sector Count X Write Verify
This command is similar to the Write Sector(s) command, except each sector is verified immediately after being written. This command has the same protocol as the Write Sector(s) command. Summaries of the valid status and error value for all the ATA Command set Error and Status Register Error Register Command CheckPowerMode ExecuteDriveDiagnostic Erase Sector(s) Format Track Identify Drive Idle Idle Immediate InitializeDriveParameter Read Buffer Read Multiple Read Long Sector Read Sector(s) Read Verify Sectors Recalibrate Request Sense Seek Set Features Set Multiple Mode Set Sleep Mode Stand By Stand By Immediate Translate Sector Wear Level V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V BBk UNC IDNF Status Register ABRT AMNF DRDY DWF V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V DSC V V V V V V V V V V V V V V V V V V CORR ERR V V V V V V V V V V V V V V V V V V V V V V V
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
29 / 29
HANBit Electronics Co., Ltd.
HANBit
Write Buffer Write Long Sector Write Multiple Write Multiple w/o Erase Write Sector(s) Write Sector(s) w/o Erase Write Verify Sector(s) Invalid Command Code V = Valid on this command V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V
HFDOM40KVXXX
V V V V V V V V V V V V
V V
V V
Ordering Infomation
NO
1 2 3 4 5 6 7 8 9 10
Parts
DOM40KV016 DOM40KV032 DOM40KV064 DOM40KV096 DOM40KV128 DOM40KV192 DOM40KV256 DOM40KV384 DOM40KV512 DOM40KV768
Capacity 16Mbyte 32Mbyte 64Mbyte 96Mbyte 128Mbyte 192Mbyte 256Mbyte 384Mbyte 512Mbyte 768Mbyte
Media transfer mode BYTE BYTE BYTE BYTE BYTE BYTE BYTE BYTE BYTE BYTE
Operation Mode True IDE True IDE True IDE True IDE True IDE True IDE True IDE True IDE True IDE True IDE
URL:www.hbe.co.kr Rev. 1.1 (December, 2003)
30 / 30
HANBit Electronics Co., Ltd.


▲Up To Search▲   

 
Price & Availability of HFDOM40KVXXX

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X